package erfgame.core;

public class MathUtils {
	public static final int getNextMask( int v ) {
		int maxBit = -1;
		while( v != 0 ) {
			v >>= 1;
			maxBit++;
		}
		return (1 << maxBit) - 1;
	}
}
